package cn.dm.service;

import cn.dm.pojo.DmArea;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;
import java.util.Map;

public interface DmAreaService {
    /**
     * 根据id查询城市
     * @param id
     * @return
     * @throws Exception
     */
    public DmArea getDmAreaById(Long id)throws Exception;

    public List<DmArea> getDmAreaListByMap(Map<String, Object> param)throws Exception;

    public Integer getDmAreaCountByMap(Map<String, Object> param)throws Exception;


    public Integer qdtxAddDmArea(DmArea dmArea)throws Exception;

    public Integer qdtxModifyDmArea(DmArea dmArea)throws Exception;
}
